::发布
echo off&setlocal enabledelayedexpansion
h:
cd \init\git_oschina\rapid-svn_cmake\windows\board
date/t>%temp%\date.txt
set /p date=<%temp%\date.txt
time/t>%temp%\time.txt
set /p time=<%temp%\time.txt
set dt=%date:~0,10%-%time%
set dt1=!dt:/=:!
::echo %dt1%
::echo "http://git.my.host:28888/200_pages1/usr/bin/pub/publish.php?type=set&last=%dt%&name=board"
::curl "http://git.my.host:28888/200_pages1/usr/bin/pub/publish.php?type=set&last=%dt%&name=board"
::echo %dt%
::echo  gogoqiu@git.my.host:/mnt/disk4/pub/board/%dt1%.exe
::pause
ssh -p 22222 gogoqiu@git.my.host "mkdir -p /mnt/disk4/pub/board"
scp -P 22222 ../cmake-build-debug/board/board.exe gogoqiu@git.my.host:/mnt/disk4/pub/board/%dt1%.exe
scp -P 22222 src/client.conf gogoqiu@git.my.host:/mnt/disk4/pub/board

::http://git.my.host:28888/pub/board/index.php
curl "http://git.my.host:28888/200_pages1/usr/bin/pub/publish.php?type=set&last=%dt1%&name=board"